This procedure describes how to add validation to a Zend Server Gateway RPC or RESTful API method.
|
|
|
To add Validation to existing methods:
|
Test the validation in the Test Service view, by running a test on a parameter with an invalid value. You should receive a '400 Invalid parameter(s) in request' response, with an error message describing was wrong with the request. To remove the validation, hover over it in the editor and click -OR- right-click, and select Delete. |
|
|
|
|
Related Links: Configuring the Zend Server Gateway Adding and Testing Authentication |
|
|
©1999-2013 Zend Technologies LTD. All rights reserved.